package com.changgou.goods.service;

import com.changgou.goods.pojo.Brand;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface BrandService {

    List<Brand> findAll();

    Brand findBrandById(String brandId);

    void addBrand(Brand brand);

    void modifyBrand(String brandId,Brand brand);

    void delBrandById(Integer brandId);

    List<Brand> findList(Brand brand);

    PageInfo<Brand> findPage(int page, int size);
    /***
     * 多条件分页查询
     * @param brand
     * @param page
     * @param size
     * @return
     */
    PageInfo<Brand> findPage(Brand brand, int page, int size);
}
